package net.ifilm.domain;

import net.ifilm.db.DBExecutor;

/**
 * <code>Message</code>类主要用于线程间管道的通信
 *
 * @author wangjunneil@gmail.com
 */
public class Message {

    /**
     * 数据库的处理类
     */
    private DBExecutor dbExecutor;

    /**
     * 电影图片的保存路径
     */
    private String downloadPath;

    /**
     * 电影连接的页面
     */
    private String filmLinkPage;

    /**
     *电影所在域名路径
     */
    private String domain;

    // --------------------------------------------------------------------- public method

    public DBExecutor getDbExecutor() {
        return dbExecutor;
    }

    public void setDbExecutor(DBExecutor dbExecutor) {
        this.dbExecutor = dbExecutor;
    }

    public String getFilmLinkPage() {
        return filmLinkPage;
    }

    public void setFilmLinkPage(String filmLinkPage) {
        this.filmLinkPage = filmLinkPage;
    }

    public String getDownloadPath() {
        return downloadPath;
    }

    public void setDownloadPath(String downloadPath) {
        this.downloadPath = downloadPath;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

}
